package tr.edu.metu.is.mega.common.dto;

/**
 * Data transfer object for UserCoursesview entity.
 */
public class UserCoursesViewDTO extends BaseDTO {

    private static final long serialVersionUID = 9013731008260843630L;

    public static final String FIELD_CODE = "code";

    public static final String FIELD_NAME = "name";

    public static final String FIELD_SEMESTER = "semester";

    public static final String FIELD_USER = "user";

    private Integer courseid;

    private String code;

    private String name;

    private UserRole role;

    private String semester;

    private String user;

    private Integer userid;

    /**
     * Returns code.
     * 
     * @return the code
     */
    public String getCode() {
        return code;
    }

    /**
     * Sets code value.
     * 
     * @param code the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * Returns name.
     * 
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * Sets name value.
     * 
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Returns role.
     * 
     * @return the role
     */
    public UserRole getRole() {
        return role;
    }

    /**
     * Sets role value.
     * 
     * @param role the role to set
     */
    public void setRole(UserRole role) {
        this.role = role;
    }

    /**
     * Returns semester.
     * 
     * @return the semester
     */
    public String getSemester() {
        return semester;
    }

    /**
     * Sets semester value.
     * 
     * @param semester the semester to set
     */
    public void setSemester(String semester) {
        this.semester = semester;
    }

    /**
     * Returns user.
     * 
     * @return the user
     */
    public String getUser() {
        return user;
    }

    /**
     * Sets user value.
     * 
     * @param user the user to set
     */
    public void setUser(String user) {
        this.user = user;
    }

    /**
     * Returns userid.
     * 
     * @return the userid
     */
    public Integer getUserid() {
        return userid;
    }

    /**
     * Sets userid value.
     * 
     * @param userid the userid to set
     */
    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    /**
     * Returns courseid.
     * 
     * @return the courseid
     */
    public Integer getCourseid() {
        return courseid;
    }

    /**
     * Sets courseid value.
     * 
     * @param courseid the courseid to set
     */
    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

}
